package com.miao.websecurity.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.List;
import java.util.Map;

/**
 * @author MiaoWenqing
 * @description: 角色
 * @date 2021/2/7 13:38
 */
public class RoleVO {

    //角色id
    private String roleId;
    //角色名称
    private String roleName;
    //角色描述
    private String roleDes;
    //拥有 菜单
    private List<RoleMenuVO> menus;
    //拥有api
    private List<RoleApiVO> apis;

    public RoleVO() {
    }

    @Override
    public String toString() {
        return "RoleVO{" +
                "roleId='" + roleId + '\'' +
                ", roleName='" + roleName + '\'' +
                ", roleDes='" + roleDes + '\'' +
                ", menus=" + menus +
                ", apis=" + apis +
                '}';
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleDes() {
        return roleDes;
    }

    public void setRoleDes(String roleDes) {
        this.roleDes = roleDes;
    }

    public List<RoleMenuVO> getMenus() {
        return menus;
    }

    public void setMenus(List<RoleMenuVO> menus) {
        this.menus = menus;
    }

    public List<RoleApiVO> getApis() {
        return apis;
    }

    public void setApis(List<RoleApiVO> apis) {
        this.apis = apis;
    }
}
